<template>
	<view class="template-index tn-safe-area-inset-bottom">

		<view style='background-color: #4f72d3; text-align: center; position:fixed; top:0; left:0; z-index: 1000; width:100%;'>
			<img class='img' src='../../static/head_logo.png'>
		</view>

		<!-- 轮播banner-->
		<swiper class="card-swiper" @click="tn('')" :circular="true" :autoplay="true" duration="500" interval="8000"
			@change="cardSwiper">
			<swiper-item v-for="(item,index) in swiperList" :key="index" :class="cardCur==index?'cur':''">
				<view class="swiper-item image-banner">
					<image :src="item.url" mode="aspectFill" v-if="item.type=='image'"></image>
				</view>
				<view class="swiper-item-text">
					<view class="tn-text-bold tn-color-white" style="font-size: 90rpx;">{{item.title}}</view>
					<view class="tn-color-white tn-padding-top" style="font-size: 30rpx;">{{item.name}}</view>
					<view class="tn-text-sm tn-text-bold tn-color-white tn-padding-top-sm tn-padding-bottom-sm">
						{{item.text}}
					</view>
				</view>
			</swiper-item>
		</swiper>
		<view class="indication">
			<block v-for="(item,index) in swiperList" :key="index">
				<view class="spot" :class="cardCur==index?'active':''"></view>
			</block>
		</view>


		<!-- 通知-->
		<view class="tn-bg-white tn-margin-top" style="border-radius: 20rpx; width:94%; margin:1rem auto 0 auto;">
			<tn-notice-bar :list="list" mode="vertical" leftIconName="notice"></tn-notice-bar>
		</view>

		<!-- 特色诊疗项目-->

		<!-- 标题-->
		<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top" @click="tn('')">
			<view class="justify-content-item tn-margin tn-text-bold tn-text-xl blue-title">
				特色诊疗项目
			</view>
			<view class="justify-content-item tn-margin-right tn-text-df tn-color-gray">
				<text class="tn-padding-xs">更多</text>
				<text class="tn-icon-right"></text>
			</view>
		</view>

		<!-- 诊疗项目 -->
		<view
			class="tn-info__container tn-flex tn-flex-wrap tn-flex-col-center tn-flex-row-between tn-margin-left tn-margin-right">
			<block v-for="(item, index) in tuniaoData" :key="index">
				<view class='flex-wl'>
					<img :src='item.img' class='img'>
					<p class='text-new'>
						{{item.title}}
					</p>
					<view
						style='padding:.1rem; background-color: #4f72d3; width:1.4rem; height:1.4rem; display: inline-block; border-radius: 2rem; '>
						<uni-icons type="arrow-right" size="16" color="#ffffff"></uni-icons>
					</view>
				</view>
			</block>
		</view>


		<!-- 标题-->
		<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top" @click="tn('')">
			<view class="justify-content-item tn-margin tn-text-bold tn-text-xl blue-title">
				医师力量
			</view>
			<view class="justify-content-item tn-margin-right tn-text-df tn-color-gray">
				<text class="tn-padding-xs">更多</text>
				<text class="tn-icon-right"></text>
			</view>
		</view>

		<view style='padding:.6rem'>
			<scroll-view class="menu-wrapper" scroll-x="true" @touchstart="handleTouchStart"
				@touchmove="handleTouchMove" @touchend="handleTouchEnd">
				<view class="menu-item" v-for="(item, index) in menuItems" :key="index"  @click="tn('/homePages/doctor',item)" >
					<view class='nei'>
						<div class='position-nei'>
							{{item.hospital}}
						</div>
						<img :src='item.img[0]' class='img'>
						<p class='text text-weight'>
							{{ item.text }}
						</p>
						<p class='text'>
							{{item.position}}
						</p>
						<div style='width:20%; background: #4f72d3; height:4px; margin:.4rem 0;'>

						</div>
						<p class='text' style='color:#8c8c8c; font-size: .6rem;'>
							{{item.zhicheng}}
						</p>
						<p class='text' style='color:#8c8c8c; font-size: .6rem; text-align: center;'>
							{{item.xueli[0]}}
						</p>
					</view>

				</view>
			</scroll-view>
		</view>

		<!-- 标题-->
		<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top" @click="tn('')">
			<view class="justify-content-item tn-margin tn-text-bold tn-text-xl blue-title">
				医院环境
			</view>
			<view class="justify-content-item tn-margin-right tn-text-df tn-color-gray">
				<text class="tn-padding-xs">更多</text>
				<text class="tn-icon-right"></text>
			</view>
		</view>

		<!-- 环境-->
		<view class="tn-flex tn-margin-left tn-margin-right tn-margin-top tn-margin-bottom-xl">
			<swiper :autoplay="true" interval="3000" circular="true" indicator-dots="true" class="custom-swiper"
				indicator-color='#ffffff' indicator-active-color='#053E61'>
				<swiper-item v-for="(item, index) in yyhj" :key="index" class="swiper-item-two">
					<image :src="item.img" class="slide-image"></image>
				</swiper-item>
			</swiper>
		</view>


		<!-- 标题-->
		<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin-top" @click="tn('')">
			<view class="justify-content-item tn-margin tn-text-bold tn-text-xl blue-title">
				门店地址
			</view>
			<view class="justify-content-item tn-margin-right tn-text-df tn-color-gray">
				<text class="tn-padding-xs">更多</text>
				<text class="tn-icon-right"></text>
			</view>
		</view>

		<!-- 地址列表-->
		<view class="tn-flex tn-margin-left tn-margin-right tn-margin-top tn-margin-bottom-xl" style='flex-wrap:wrap'>
			<!-- 地图 -->
			<map style="width: 100%; height: 300px; margin-bottom: .8rem;;" :latitude="latitude" :longitude="longitude"
				:markers="covers" :scale='12'>
			</map>
			<view class='mendian' v-for='(item,index) in mdxx'>
				<!-- 顶部 -->
				<view class='header-mendian'>
					<img class='img' src='../../static/V-LOGO.png'>
					<p style='font-weight: 600; margin-left:.2rem; font-size:1.05rem'>{{item.title}}</p>
				</view>
				<!-- 信息模块 -->
				<view style='margin-top:.4rem; color:#7c7c7c; line-height:1.6rem;'>
					<p>详细地址：<span>{{item.adress}}</span></p>
					<p>营业时间：<span>09：00-18：30</span></p>
					<p>咨询电话：<span>{{item.phone}}</span></p>
				</view>
				<!-- 底部功能区 -->
				<view class='gnq-footer'>
					<view>
						<view class='item'>

							<uni-icons type="paperplane-filled" size="20" color="#01334B"></uni-icons>
							<p>到这去</p>
						</view>


					</view>
					<view>
						<view class='item'>
							<uni-icons type="phone-filled" size="20" color="#01334B"></uni-icons>
							<p>拨打咨询电话</p>
						</view>
					</view>

				</view>

			</view>
		</view>



		<view class='tn-tabbar-height'></view>

	</view>
</template>

<script>
	export default {
		name: 'Home',
		data() {
			return {
				// 地图相关
				id: 0, // 使用 marker点击事件 需要填写id
				title: 'map',
				latitude: 34.652426,
				longitude: 112.403525,
				covers: [{
						latitude: 34.652426,
						longitude: 112.403525,
						title: "维乐口腔·万达店",
						iconPath: require('../../static/dwIcon.png')
					},
					{
						latitude: 34.65479,
						longitude: 112.41146,
						title: "维乐口腔·沃德店",
						iconPath: require('../../static/dwIcon.png')
					}
				],


				menuItems: [
					{
						text: '宋睿智',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "洛阳维乐口腔总院长",
						zhicheng: '副主任医师',
						xueli: [
							"美国gIDE/罗马琳达大学口腔种植修复双硕士", "上海交通大学/美国凯泽大学EMBA医学管理学硕士"
						],
						jingyan: "十余年临床经验",
						zhuanye: [
							"舒适化全麻即刻负重种植技术",
							"数字化种植/前牙美学区种植技术",
							"半口/全口无牙颌种植修复技术",
							"上颌窦内外提升等复杂植骨术"
						],

						honor: [
							"中国致公党中央委员会医药卫生委员会委员",
							"致公党河南省委社会服务与发展委员会副主任",
							"河南省口腔医学会美学修复颌面外科专委会委员",
							"政协第十四届洛阳市委员会常务委员",
							"洛阳欧美同学会副会长",
							"洛阳市侨联常务委员"
						]

					},
					{
						text: '郭志歌',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔医院院长",
						zhicheng: '主治医师',
						xueli: [
							"口腔医学学士"
						],
						jingyan: "十三年临床经验",
						zhuanye: [
							"显微热牙胶根管治疗术",
							"单颗/多颗种植修复技术/树脂充填",
							"固定义齿/活动义齿/前牙美学修复",
							"复杂根管治疗术/牙齿嵌体修复"
						],

						honor: [
							"韩非非老师DSD软件设计及贴面预备理论实操班",
							"任道口腔医疗瓷贴面微创美学修复技术认证医生",
							"路漫漫牙医微创拔牙与美学修复培训课程",
							"武汉大学口腔医院彭彬-现代根管治疗培训班"
						]
					},
					{
						text: '范鑫',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔种植修复科",
						zhicheng: '主治医师',
						xueli: [
							"美国Loma Linda大学种植牙学与口腔修复学培训认证"
						],
						jingyan: "九年临床经验",
						zhuanye: [
							"单颗/多颗种植修复技术/半口/全口种植修复技术",
							"前牙即拔即种修复技术/复杂阻生智齿拔除术",
						],

						honor: []
					},
					{
						text: '王春娟',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔牙体牙髓科",
						zhicheng: '主治医师',
						xueli: [
							"武汉大学口腔医院彭彬-现代根管治疗培训班"
						],
						jingyan: "十二年临床经验",
						zhuanye: [
							"固定/活动义齿修复/嵌体修复",
							"牙周病综合治疗/儿童龋病治疗及早期矫正",
							"牙体牙髓病综合诊疗/显微根管治疗/复杂根管病变治疗",
						],

						honor: []
					},
					{
						text: '马少峰',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔牙体牙髓科",
						zhicheng: '主治医师',
						xueli: [
							"武汉大学口腔医院彭彬-现代根管治疗培训班"
						],
						jingyan: "十二年临床经验",
						zhuanye: [
							"固定/活动义齿修复/嵌体修复",
							"牙周病综合治疗/儿童龋病治疗及早期矫正",
							"牙体牙髓病综合诊疗/显微根管治疗/复杂根管病变治疗",
						],

						honor: []
					},
					{
						text: '邓树鹏',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔种植修复科",
						zhicheng: '执业医师',
						xueli: [
							"武汉大学口腔医院彭彬-现代根管治疗培训班"
						],
						jingyan: "十六年临床经验",
						zhuanye: [
							"固定/活动/全口义齿修复",
							"单颗/多颗种植修复诊疗/前牙美学修复",
							"牙体缺损、牙列缺损修复",
							"疑难复杂牙齿拔除及位点保存"
						],

						honor: []
					},
					{
						text: '彭新萍',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔儿童口腔科",
						zhicheng: '执业医师',
						xueli: [
							"武汉大学口腔医院彭彬-现代根管治疗培训班"
						],
						jingyan: "十二年临床经验",
						zhuanye: [
							"显微热牙胶根管治疗/牙周病综合诊疗",
							"牙齿缺损美学树脂及嵌体、全瓷冠修复",
							"乳牙及年轻恒牙牙体牙髓病的诊疗/儿童早期错颌畸形的正畸诊疗",
						],
						
						honor: []
					},
					{
						text: '李延斌',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔全科医师",
						zhicheng: '执业医师',
						xueli: [
							"普特《微螺钉种植支抗临床应用学习班》"
						],
						jingyan: "十年临床经验",
						zhuanye: [
							"青少年/成人固定及隐形矫治",
							"固定/活动义齿修复/单颗/多颗种植修复",
							"儿童早期矫正及全阶段面型管理 ",
							"复杂阻生智齿拔除术"
						],
						
						honor: []
					},
					
					{
						text: '王向阳',
						hospital: "大曌店",
						img:[
							require('../../static/zeroD.jpg'),
							require('../../static/zeroD.jpg')
						],
						position: "维乐口腔牙体牙髓科",
						zhicheng: '执业医师',
						xueli: [
							"口腔医学本科"
						],
						jingyan: "十年临床经验",
						zhuanye: [
							"疑难牙体/牙髓病的综合诊疗",
							"残根/残冠/智齿等复杂牙拔除",
							"牙齿美学充填/复杂根管病变治疗",
						],
						
						honor: []
					},

				],

				yyhj: [{
						text: "医院环境1",
						img: require('../../static/yyhj.png')
					},
					{
						text: "医院环境2",
						img: require('../../static/yyhj2.png')
					},
					{
						text: "医院环境3",
						img: require('../../static/yyhj3.png')
					}
				],

				mdxx: [{
						title: "维乐口腔医院（大曌店）",
						adress: '河南省洛阳市涧西区万达广场商业街XXX',
						phone: "0379-6254512"
					},
					{
						title: "维乐口腔（长申店）",
						adress: '河南省洛阳市涧西区万达广场商业街XXX',
						phone: "0379-6254512"
					},
					{
						title: "维乐口腔（七一店）",
						adress: '河南省洛阳市涧西区万达广场商业街XXX',
						phone: "0379-6254512"
					},
					{
						title: "维乐口腔（凌宇店）",
						adress: '河南省洛阳市涧西区万达广场商业街XXX',
						phone: "0379-6254512"
					},
					{
						title: "维乐口腔（沃德店）",
						adress: '河南省洛阳市涧西区万达广场商业街XXX',
						phone: "0379-6254512"
					}
				],

				startX: 0, // 触摸开始时的 X 坐标  
				currentX: 0, // 当前触摸的 X 坐标  
				isScrolling: false, // 是否正在滑动  
				cardCur: 0,
				isAndroid: true,
				swiperList: [{
					id: 0,
					type: 'image',
					title: '',
					name: '',
					text: '',
					url: require('../../static/202402Wap.jpg'),
				}, {
					id: 1,
					type: 'image',
					title: '',
					name: '',
					text: '',
					url: require('../../static/202402Wap.jpg'),
				}],

				list: [
					'维乐口腔，展开暑期活动',
					'维乐口腔，展开暑期整牙活动，集采价'
				],

				searlist: [
					'搜索 登录注册模板',
					'搜索 新建表单模板',
					'搜索 对话聊天模板',
					'搜索 个人中心模板'
				],

				tuniaoData: [{
						title: '口腔种植',
						icon: 'image-text-fill',
						color: '#5177EE',
						value: '查看详情',
						url: '/homePages/culture',
						img: require('../../static/zhongzhi.png')
					},
					{
						title: '口腔正畸',
						icon: 'calendar-fill',
						color: '#19cf8a',
						value: '查看详情',
						url: '/homePages/history',
						img: require('../../static/zhengji.png')
					},
					{
						title: '口腔修复',
						icon: 'image-fill',
						color: '#5F4FD9',
						value: '查看详情',
						url: '/homePages/photo',
						img: require('../../static/xiufu.png')
					},
					{
						title: '牙周病治疗',
						icon: 'theme-fill',
						color: '#954FF6',
						value: '查看详情',
						url: '/homePages/video',
						img: require('../../static/yazhou.png')
					},
					{
						title: '口腔综合',
						icon: 'trophy-fill',
						color: '#F33F5A',
						value: '查看详情',
						url: '/homePages/honor',
						img: require('../../static/zhongzhi.png')
					},
					{
						title: '儿童口腔',
						icon: 'location-fill',
						color: '#FF7043',
						value: '查看详情',
						url: '/homePages/map',
						img: require('../../static/zhongzhi.png')
					}
				],
			}
		},
		created() {
			const systemInfo = uni.getSystemInfoSync()
			if (systemInfo.system.toLocaleLowerCase().includes('ios')) {
				this.isAndroid = false
			} else {
				this.isAndroid = true
			}
		},
		methods: {
			// cardSwiper
			cardSwiper(e) {
				this.cardCur = e.detail.current
			},
			// 跳转
			tn(e,movieitem) {
				var item = JSON.stringify(movieitem)
				uni.navigateTo({
					url: e+"?item="+item
				});
			},

			handleTouchStart(e) {
				this.startX = e.touches[0].clientX;
				this.isScrolling = true;
			},
			handleTouchMove(e) {
				if (!this.isScrolling) return;
				this.currentX = e.touches[0].clientX;
				// 这里可以根据 startX 和 currentX 的差值来控制滑动效果，但通常不需要手动处理，因为 scroll-view 会自动处理  
			},
			handleTouchEnd() {
				this.isScrolling = false;
			},
			menuItemClick(index) {
				// 处理菜单项点击事件  
				console.log('点击了菜单项：', this.menuItems[index].text);
			}
		}
	}
</script>

<style lang="scss" scoped>
	
	.template_div{
		
	}
	.flex-wl {
		width: 31.33333%;
		text-align: center;
		box-sizing: border-box;
		padding: .5rem;
		margin-top: 1vh;
		border-radius: .4rem;
		background-color: #ffffff;

		.text-new {
			margin: 1vh 0;
		}


		.img {
			display: block;
			width: 100%;
		}
	}

	.template-index {
		max-height: 100vh;
	}

	.header-background {
		width: 100%;
		height: 120rpx;
		background: linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(0, 0, 0, 1));
		position: fixed;
		top: 0;
		z-index: 200;
	}

	.tn-tabbar-height {
		min-height: 100rpx;
		height: calc(120rpx + env(safe-area-inset-bottom) / 2);
	}

	/* 阴影*/
	.home-shadow {
		box-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.07);
	}

	/* 自定义导航栏内容 start */
	.custom-nav {
		height: 100%;

		&__back {
			margin: auto 5rpx;
			font-size: 40rpx;
			margin-right: 10rpx;
			margin-left: 30rpx;
			flex-basis: 5%;
		}

		&__search {
			flex-basis: 60%;
			width: 100%;
			height: 100%;

			&__box {
				width: 100%;
				height: 70%;
				padding: 10rpx 0;
				margin: 0 30rpx;
				border-radius: 60rpx 60rpx 0 60rpx;
				font-size: 24rpx;
			}

			&__icon {
				padding-right: 10rpx;
				margin-left: 20rpx;
				font-size: 30rpx;
			}

			&__text {
				// color: #AAAAAA;
			}
		}
	}

	.logo-image {
		width: 65rpx;
		height: 65rpx;
		position: relative;
	}

	.logo-pic {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
	}

	/* 自定义导航栏内容 end */


	/* 轮播视觉差 start */
	.card-swiper {
		height: 700rpx !important; 
		margin-top:3rem;
	}

	.card-swiper swiper-item {
		width: 750rpx !important;
		left: 0rpx;
		box-sizing: border-box;
		// padding: 0rpx 30rpx 90rpx 30rpx;
		overflow: initial;
	}

	.card-swiper swiper-item .swiper-item {
		width: 100%;
		display: block;
		height: 100%;
		transform: scale(1);
		transition: all 0.2s ease-in 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper swiper-item.cur .swiper-item {
		transform: none;
		transition: all 0.2s ease-in 0s;
		will-change: transform;
	}

	.card-swiper swiper-item .swiper-item-text {
		margin-top: -500rpx;
		text-align: center;
		width: 100%;
		display: block;
		height: 50%;
		border-radius: 10rpx;
		transform: translate(100rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
		overflow: hidden;
	}

	.card-swiper swiper-item.cur .swiper-item-text {
		margin-top: -500rpx;
		width: 100%;
		transform: translate(0rpx, 0rpx) scale(0.9, 0.9);
		transition: all 0.6s ease 0s;
		will-change: transform;
	}

	.image-banner {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.image-banner image {
		width: 100%;
		height: 100%;
	}

	/* 轮播指示点 start*/
	.indication {
		z-index: 9999;
		width: 100%;
		height: 36rpx;
		position: absolute;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
	}

	.spot {
		background-color: #FFFFFF;
		opacity: 0.4;
		width: 10rpx;
		height: 10rpx;
		border-radius: 20rpx;
		top: -60rpx;
		margin: 0 8rpx !important;
		position: relative;
	}

	.spot.active {
		opacity: 0.6;
		width: 30rpx;
		background-color: #FFFFFF;
	}

	/* 资讯主图 start*/
	.image-article {
		border-radius: 8rpx;
		width: 220rpx;
		height: 120rpx;
		position: relative;
	}

	.image-pic {
		// border: 1rpx solid #F8F7F8;
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 10rpx;
	}

	/* 文字截取*/
	.clamp-text-1 {
		-webkit-line-clamp: 1;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	.clamp-text-2 {
		-webkit-line-clamp: 2;
		display: -webkit-box;
		-webkit-box-orient: vertical;
		text-overflow: ellipsis;
		overflow: hidden;
	}

	.blue-title::before {
		content: "";
		position: absolute;
		display: block;
		width: 80rpx;
		height: 26rpx;
		background: #269EFC;
		margin-top: 24rpx;
		margin-left: 75rpx;
		opacity: 0.3;
		z-index: -1;
		border-radius: 4rpx;
	}




	.icon12 {
		&__item {
			transform: scale(1);
			transition: transform 0.3s linear;
			transform-origin: center center;

			&--icon {
				width: 100rpx;
				height: 100rpx;
				font-size: 60rpx;
				border-radius: 50%;
				margin-bottom: 18rpx;
				position: relative;
				z-index: 1;

				&::after {
					content: " ";
					position: absolute;
					z-index: -1;
					width: 100%;
					height: 100%;
					left: 0;
					bottom: 0;
					border-radius: inherit;
					opacity: 1;
					transform: scale(1, 1);
					background-size: 100% 100%;
					background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg2.png);


				}
			}
		}
	}


	/* 热门图片 start*/
	.image-tuniao1 {
		padding: 164rpx 0rpx 162rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-tuniao2 {
		padding: 74rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-tuniao3 {
		padding: 90rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-pic {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 10rpx;
	}

	/* 胶囊banner*/
	.image-capsule {
		padding: 100rpx 0rpx;
		font-size: 40rpx;
		font-weight: 300;
		position: relative;
	}

	.image-piccapsule {
		background-size: cover;
		background-repeat: no-repeat;
		// background-attachment:fixed;
		background-position: top;
		border-radius: 20rpx 20rpx 0 0;
	}

	/* 工作区展示 start */
	.tn-info {

		&__container {
			margin-top: 10rpx;
			margin-bottom: 50rpx;
		}

		&__item {
			width: 47.7%;
			margin: 15rpx 0rpx 30rpx 0rpx;
			padding: 40rpx 30rpx;
			border-radius: 10rpx;


			position: relative;
			z-index: 1;

			&::after {
				content: " ";
				position: absolute;
				z-index: -1;
				width: 100%;
				height: 100%;
				left: 0;
				bottom: 0;
				border-radius: inherit;
				opacity: 1;
				transform: scale(1, 1);
				background-size: 100% 100%;
				background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/2.png);
			}

			&__left {

				&--icon {
					width: 80rpx;
					height: 80rpx;
					border-radius: 50%;
					font-size: 40rpx;
					margin-right: 20rpx;
					position: relative;
					z-index: 1;

					&::after {
						content: " ";
						position: absolute;
						z-index: -1;
						width: 100%;
						height: 100%;
						left: 0;
						bottom: 0;
						border-radius: inherit;
						opacity: 1;
						transform: scale(1, 1);
						background-size: 100% 100%;
						background-image: url(https://resource.tuniaokj.com/images/cool_bg_image/icon_bg5.png);
					}
				}

				&__content {
					font-size: 25rpx;

					&--data {
						color: rgba(255, 255, 255, 0.5);
						margin-top: 5rpx;
						// font-weight: bold;
					}
				}
			}

			&__right {
				&--icon {
					position: absolute;
					right: 0rpx;
					top: 50rpx;
					font-size: 100rpx;
					width: 108rpx;
					height: 108rpx;
					text-align: center;
					line-height: 60rpx;
					opacity: 0.15;
				}
			}

			&__bottom {
				box-shadow: 0rpx 0rpx 30rpx 0rpx rgba(0, 0, 0, 0.12);
				border-radius: 0 0 10rpx 10rpx;
				position: absolute;
				width: 85%;
				line-height: 15rpx;
				left: 50%;
				bottom: -15rpx;
				transform: translateX(-50%);
				z-index: -1;
				text-align: center;
			}
		}
	}

	/* 工作区展示 end */
	.container {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		height: 100vh;
	}

	.menu-wrapper {
		width: 100%;
		white-space: nowrap;
		/* 防止菜单项换行 */
		overflow-x: auto;
		/* 允许水平方向滚动 */
		-webkit-overflow-scrolling: touch;
		/* 启用原生滚动（在 iOS 上）*/
	}

	.menu-item {
		display: inline-block;
		padding: .5rem;
		margin-right: 10px;
		background-color: #ffffff;
		border-radius: 5px;
		cursor: pointer;
		width: 50%;
		position: relative;

		.nei {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			overflow: hidden;
			.position-nei{
				position:absolute;
				left:0;
				top:1rem;
				padding:.1rem .3rem;
				color:#ffffff;
				background-color: #4f72d3;
			}

		}

		.nei img {
			display: inline-block;
			width: 100%;
		}

		.text {
			margin: .4rem 0 .2rem 0;
		}

		.text-weight {
			font-weight: 600;
		}
	}


	.swiper-item {
		width: 30%;
	}

	.custom-swiper {
		width: 100%;
		height: 10rem;
	}

	.swiper-item-two {
		.slide-image {
			display: block;
			width: 100%;
			object-fit: cover;

		}
	}

	.mendian {
		padding: .6rem;
		box-sizing: border-box;
		background-color: #ffffff;
		border-radius: .2rem;
		width: 100%;
		margin-bottom: .8rem;

		.header-mendian {
			display: flex;
			align-items: center;
			margin-bottom: .2rem;
			;

			.img {
				display: block;
				width: 50px;
			}
		}

		.gnq-footer {
			display: flex;
			align-items: center;
			margin-top: 1rem;

			.item {
				display: flex;
				align-items: center;
				padding: .4rem 0 .4rem 0;
				margin-right: .8rem;
			}
		}
	}
</style>